package br.com.admin.aop;

import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.annotation.Around;
import org.aspectj.lang.annotation.Aspect;

@Aspect
public class AOPController {

	@Around("execution(* br.com.admin.controller.*.*(..))")
	public void logBefore(JoinPoint joinPoint) { 
		System.out.println("logBefore() is running!");
		System.out.println("hijacked : " + joinPoint.getSignature().getName());
		System.out.println("******");
	}

}
